<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>前端视频录制</title>
    <style>
        .Articulating>div{
    background:#3C78FF;
    width:550px;
    height:500px;
    border-radius:20px;
     
}
.Articulating>div>.innerBox {
        width:490px;
        height:390px;
        margin:20px auto 10px;
        background:rgba(255,255,255,1);
        border:10px solid rgba(34, 90, 214, 1);
         position:relative;
      
    }
    .Articulating > div > .innerBox img {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%,-50%);
          width:400px;
    }
.Articulating .buttonBox {
    padding:0 20px;
    position:relative;
}
.Articulating .buttonBox>div {
      background:rgba(34, 90, 214, 1);
      color:#fff;
      border-radius:5px;
      height:50px;
      width:230px;
      line-height:50px;
      text-align:center;
      font-size:20px;
     cursor:pointer;
     margin:0 auto;
}
    .Articulating .buttonBox >.btnIcon img{
        height:30px;
        position:relative;
        top:10px;
        margin-right:5px;
    }
.itemName {
   position:absolute;
   top:50px;
}
    </style>
</head>
<body>
    <div class="content">
        <div id="audioBox" style="display:none"></div>
        <div>
            <div class="Articulation">
                <div class="imgBox Articulating">
                    <div class="rg">
                        <div class="innerBox">
                            <article style="border:1px solid white;width:488px;height:388px;margin:0 auto;">

                                <section class="experiment" style="width:488px; height:388px;position:relative">
                                    <div id="videos-container" style="width:488px; height:388px;">
                                    </div>
                                </section>

                            </article>
                        </div>
                        <div class="buttonBox">
                            <div class="lf btnIcon" id="openCamera">打开摄像头</div>
                        </div>
                    </div>
                </div>
               
            </div>
        </div>
    </div>
    <script src="https://www.17sucai.com/preview/1528155/2019-02-14/dh/js/jquery.min.js"></script>
    <script src="fix-webm-duration.js"></script>
    <script src="fileSaver.js"></script>
</body>
</html>
